FacetRemoved
TheFacetRemoved
method is called to notify this part that a facet has been removed from one of its display frames.
void FacetRemoved (in ODFacet facet);
facet
- A reference to a facet that has been removed.
DISCUSSION
OpenDoc calls this method when your part's containing part removes a facet from one of your part's display frames. If your part is the root part in a window, OpenDoc also calls this method when the window is closed.Your part's
FacetRemoved
method should perform any actions necessary to handle the removal of the facet. In general, the actions performed by this method should reverse those performed by theFacetAdded
method. If your part does not support asynchronous display and is not a container part, its response to this call can be minimal.OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.EXCEPTIONS
kODErrInvalidFacet
- The specified facet is not a facet of this part.
SEE ALSO
TheODFrame::FacetRemoved
method (page 319).
TheODPart::FacetAdded
method (page 514).
"The FacetRemoved Method" on page 76 in OpenDoc Cookbook.
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Responding to Added or Removed Facets" on page 107 in OpenDoc Programmer's Guide.
"Removing a Facet" on page 123 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help